package com.example.anliku.service;

import com.example.anliku.entity.Message;
import com.example.anliku.entity.TeamMemberNew;
import com.example.anliku.entity.teamBody.TeamMemberBody;
import com.example.anliku.entity.teamBody.TeamMemberReturnBody;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeamMemberNewService {


    Message deleteByPrimaryKey(Integer teamMemberNewId);

    int insert(TeamMemberNew record);

    Message insertSelective(TeamMemberNew record);

    TeamMemberNew selectByPrimaryKey(Integer teamMemberNewId);

    int updateByPrimaryKeySelective(TeamMemberNew record);

    int updateByPrimaryKey(TeamMemberNew record);

    Message insertList(@Param("list") List<TeamMemberNew> list);

    Message selectAllByTeamMemberNewUserId(@Param("teamMemberNewUserId") String teamMemberNewUserId);

    Message deleteByTeamMemberNewUserId(@Param("teamMemberNewUserId") String teamMemberNewUserId);

    Message selectTeamMemberNewIdByTeamMemberNewUserId(String teamMemberNewUserId);

    int updateBatch(List<TeamMemberBody> list);

    Message batchInsert(List<TeamMemberReturnBody> list);
}

